/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package co.edu.distribuidos.advertisements;

import net.jxta.document.Advertisement;
import net.jxta.id.ID;
import net.jxta.protocol.PipeAdvertisement;

/**
 *
 * @author alvar-go@uniandes.edu.co
 */
public abstract class AdvertisementTemplate extends Advertisement{

    private final static String advertisementType = "AdvertisementsArchivos";

    protected String nombreAdvertisement = null;

    protected PipeAdvertisement pipeAdvertisement = null;

    @Override
    public ID getID() {
        return ID.nullID;
    }

    public static String darAdvertisementType() {
        return advertisementType;
    }

    public String darNombreAdvertisement() {
        return nombreAdvertisement;
    }

    public PipeAdvertisement darPipeAdvertisement() {
        return pipeAdvertisement;
    }
}
